<div class="page-sidebar nav-collapse collapse">
			<!-- BEGIN SIDEBAR MENU -->
			<ul class="page-sidebar-menu">
				<li>
					<!-- BEGIN SIDEBAR TOGGLER BUTTON -->
					<div class="sidebar-toggler hidden-phone"></div>
					<!-- BEGIN SIDEBAR TOGGLER BUTTON -->
				</li>
				<li class="start">
					<a href="__MODULE__">
					<i class="icon-home"></i>
					<span class="title">系统首页</span>
					</a>
				</li>
		<if condition="$type eq 1">
				<li>
					<a href="javascript:;">
					<i class="icon-folder-open"></i>
					<span class="title">二维码管理</span>
					<span class="arrow"></span>
					</a>
					<ul class="sub-menu">
						<!-- <li id="Device-Cate">
							<a href="__MODULE__/Device/Cate">二维分类列表</a>
						</li>
						<li id="Device-CateAdd">
							<a href="__MODULE__/Device/CateAdd">二维分类增加</a>
						</li> -->
						<li id="Device-Index">
							<a href="__MODULE__/Device/Index">二维列表</a>
						</li>
						<li id="Device-DeviceAdd">
							<a href="__MODULE__/Device/DeviceAdd">二维增加</a>
						</li>
						<!-- <li id="Device-Animal">
							<a href="__MODULE__/Device/Animal">动物管理</a>
						</li> -->
					</ul>
				</li>
		</if>
				<!-- <li>
					<a href="javascript:;">
					<i class="icon-folder-open"></i>
					<span class="title">趋势图分析</span>
					<span class="arrow"></span>
					</a>
					<ul class="sub-menu">
						<li id="InfoTu-Two">
							<a href="__MODULE__/InfoTu/Two">捕鼠盒</a>
						</li>
						<li id="InfoTu-MousePlate">
							<a href="__MODULE__/InfoTu/MousePlate">粘鼠板</a>
						</li>
						<li id="InfoTu-MouseIron">
							<a href="__MODULE__/InfoTu/MouseIron">机械捕鼠器</a>
						</li>
						<li id="InfoTu-MouseRep">
							<a href="__MODULE__/InfoTu/MouseRep">爬虫板</a>
						</li>
						<li id="InfoTu-MouseBox">
							<a href="__MODULE__/InfoTu/MouseBox">爬虫板月记表</a>
						</li>
						<li id="InfoTu-Two">
							<a href="__MODULE__/InfoTu/Two">爬虫板月记表</a>
						</li>
					</ul>
				</li> -->
				<li>
					<a href="javascript:;">
					<i class="icon-folder-open"></i>
					<span class="title">表格分析</span>
					<span class="arrow"></span>
					</a>
					<ul class="sub-menu">
						<li id="Gather-Insect">
							<a href="__MODULE__/Gather/Insect">捕虫飞灯</a>
						</li>
						<li id="Gather-MouseBox">
							<a href="__MODULE__/Gather/MouseBox">鼠饵盒</a>
						</li>
						<li id="Gather-MousePlate">
							<a href="__MODULE__/Gather/MousePlate">粘鼠板</a>
						</li>
						<li id="Gather-MouseIron">
							<a href="__MODULE__/Gather/MouseIron">机械捕鼠器</a>
						</li>
						<li id="Gather-MouseRep">
							<a href="__MODULE__/Gather/MouseRep">爬虫板</a>
						</li>
					</ul>
				</li>
		<if condition="$type eq 1">	
				<li>
					<a href="javascript:;">
					<i class="icon-table"></i>
						<span class="title">员工管理</span>
						<span class="arrow"></span>
					</a>
					<ul class="sub-menu">
						<li id="User-user_list">
							<a href="__MODULE__/User/user_list">员工列表</a>
						</li>
						<li id="User-add">
							<a href="__MODULE__/User/add">员工新增</a>
						</li>
					</ul>

				</li>
				<li>
					<a href="javascript:;">
					<i class="icon-folder-open"></i>
					<span class="title">管理员管理</span>
					<span class="arrow"></span>
					</a>
					<ul class="sub-menu">
						<li id="Admins-Admin_list">
							<a href="__MODULE__/Admins/Admin_list">管理员列表</a>
						</li>
						<li id="Admins-Add">
							<a href="__MODULE__/Admins/Add">增加管理员</a>
						</li>
					</ul>

				</li>
				<li>
					<a href="javascript:;">
					<i class="icon-folder-open"></i>
					<span class="title">客户管理</span>
					<span class="arrow"></span>
					</a>
					<ul class="sub-menu">
						<li id="Shop-index">
							<a href="__MODULE__/Shop/index">客户列表</a>
						</li>
						<li id="Shop-add">
							<a href="__MODULE__/Shop/add">客户新增</a>
						</li>
					</ul>
				</li>
		</if>
				<li>
					<a href="javascript:;">
					<i class="icon-briefcase"></i>
					<span class="title">文章管理</span>
					<span class="arrow"></span>
					</a>
					<ul class="sub-menu">
						<li id="Article-Index">
							<a href="__MODULE__/Article/Index">文章列表</a>
						</li>
						<li id="Article-Add">
							<a href="__MODULE__/Article/Add">增加文章</a>
						</li>
						<li id="Article-Classify">
							<a href="__MODULE__/Article/Classify">文章分类</a>
						</li>
					</ul>

				</li>
				<li>
					<a href="javascript:;">
					<i class="icon-briefcase"></i>
					<span class="title">设备维护和状态管理</span>
					<span class="arrow"></span>
					</a>
					<ul class="sub-menu">
						<li id="Maintain-Index">
							<a href="__MODULE__/Maintain/Index">维护列表</a>
						</li>
						<li id="Maintain-StatusCheck">
							<a href="__MODULE__/Maintain/StatusCheck">设备状态查看</a>
						</li>
						<li id="Maintain-StatusCheck">
							<a href="__MODULE__/Maintain/photos">异常列表</a>
						</li>
					</ul>

				</li>
				<li>
					<a href="javascript:;">
					<i class="icon-briefcase"></i>
					<span class="title">服务进度</span>
					<span class="arrow"></span>
					</a>
					<ul class="sub-menu">
						<li id="Servepro-index">
							<a href="__MODULE__/Servepro/index">服务进度列表</a>
						</li>
						<!-- <li id="ServePro-detail">
							<a href="__MODULE__/Servepro/detail">设备状态查看</a>
						</li>
 -->
					</ul>

				</li>

			</ul>

			<!-- END SIDEBAR MENU -->

		</div>
<!-- 菜单active -->
<script type="text/javascript">

//输入 处理数据 输出
//dom  html/css html/css


$(document).ready(function(){

	$('.page-sidebar-menu li').removeClass('active');
	//$('#<?php echo CONTROLLER_NAME; ?>').addClass('open active');
	$('#<?php echo CONTROLLER_NAME; ?>-<?php echo ACTION_NAME; ?>').parent().parent().addClass('open active');
	$('#<?php echo CONTROLLER_NAME; ?>-<?php echo ACTION_NAME; ?>').addClass('open active');
});
</script>
